package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.CntrType;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.CntrTypeVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * <p>
 * 箱类型代码 服务类
 * </p>
 *
 * @author 功不唐捐
 * @since 2024-05-23
 */
public interface CntrTypeService extends IService<CntrType> {

    List<CntrTypeVo> getCntrTypeList(Page<CntrTypeVo> page, CntrTypeVo vo);

    ResultUtil<T> addCntrType(CntrType type);

    Boolean checkTypeCode(CntrType type);

    ResultUtil<T> updateCntrType(CntrType type);

    ResultUtil<T> delCntrType(Long id);

    List<CntrTypeVo> getCntrType(CntrTypeVo vo);

}
